.class final Lnbisdk/ba$a;
.super Ljava/util/TimerTask;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lnbisdk/ba;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "a"
.end annotation


# instance fields
.field private synthetic kA:Lnbisdk/ba;


# direct methods
.method synthetic constructor <init>(Lnbisdk/ba;)V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0, p1, v0}, Lnbisdk/ba$a;-><init>(Lnbisdk/ba;B)V

    return-void
.end method

.method private constructor <init>(Lnbisdk/ba;B)V
    .locals 0

    iput-object p1, p0, Lnbisdk/ba$a;->kA:Lnbisdk/ba;

    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 5

    const-class v0, Lnbisdk/ba;

    monitor-enter v0

    :try_start_0
    iget-object v1, p0, Lnbisdk/ba$a;->kA:Lnbisdk/ba;

    invoke-static {v1}, Lnbisdk/ba;->c(Lnbisdk/ba;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iget-object v3, p0, Lnbisdk/ba$a;->kA:Lnbisdk/ba;

    iget-wide v3, v3, Lnbisdk/ba;->sq:J

    sub-long/2addr v1, v3

    iget-object v3, p0, Lnbisdk/ba$a;->kA:Lnbisdk/ba;

    invoke-virtual {v3}, Lnbisdk/ba;->jr()I

    move-result v3

    int-to-long v3, v3

    cmp-long v1, v1, v3

    if-ltz v1, :cond_0

    iget-object v1, p0, Lnbisdk/ba$a;->kA:Lnbisdk/ba;

    iget-object v1, v1, Lnbisdk/ba;->ca:Lcom/nbi/common/NBIContext;

    invoke-static {v1}, Lnbisdk/bd;->c(Lcom/nbi/common/NBIContext;)Lnbisdk/og;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-interface {v1}, Lnbisdk/og;->getWifiState()I

    move-result v2

    const/4 v3, 0x2

    if-ne v2, v3, :cond_0

    invoke-interface {v1}, Lnbisdk/og;->cu()Z

    :cond_0
    iget-object v1, p0, Lnbisdk/ba$a;->kA:Lnbisdk/ba;

    invoke-static {v1}, Lnbisdk/ba;->f(Lnbisdk/ba;)V

    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method
